x86-64: globally use -mno-sse
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Jan 2012 15:46:54 +0000 (16:46 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Jan 2012 15:46:54 +0000 (16:46 +0100)
This eliminates pointless prologue code from functions having variable
argument lists (since that way xmm registers can't possibly be passed).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/Rules.mk
xen/arch/x86/efi/Makefile

index bf77aef8b20d2423509a63d0a1d95e36b91c8b91..9fc6d42f9f5553d6cd449228cf4518e4f6512807 100644 (file)
@@ -41,7 +41,7 @@ x86_64 := n
 endif
 
 ifeq ($(TARGET_SUBARCH),x86_64)
-CFLAGS += -mno-red-zone -fpic
+CFLAGS += -mno-red-zone -mno-sse -fpic
 CFLAGS += -fno-asynchronous-unwind-tables
 # -fvisibility=hidden reduces -fpic cost, if it's available
 ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n)
index 6e3f94c208661595fd5a94a6884d873ed8f32614..005e3e05dda1d218cd1f51f012ad5bd1b5e16448 100644 (file)
@@ -1,4 +1,4 @@
-CFLAGS += -fshort-wchar -mno-sse
+CFLAGS += -fshort-wchar
 
 obj-y += stub.o